<?php
	function printLinkRow($text,$link){
		static $curr = 1;
		if($curr){
			$row='odd';
			$curr=0;
		}else{
			$row='cell_row';
			$curr=1;
		}
		echo '
				<tr class="'.$row.'">
					<td><a href="'.$link.'.php">'.$text.'</a></td>
				</tr>';

	}
?>
<html>
	<head>
		<title>AMUD - Administration Area</title>
	</head>
	<body>
		<div id="panel" style="float:left">
			<table>
				<tr>
					<th>Tables</th>
				</tr>
				<?php
					printLinkRow('Behaviours','behaviours');
					printLinkRow('Capabilities','capabilities');
					printLinkRow('Characters','char');
					printLinkRow('Commands','commands');
					printLinkRow('Item Types','item_types');
                    printLinkRow('Passages','passages');
					printLinkRow('Rooms','rooms');
					printLinkRow('Status','status');
					printLinkRow('Users','users');

				?>
			</table>
		</div>
